#include "typedef.h"

/*************************************************************
 * utility functions dealing with strings.
 * Taken from James Molloy
 * http://www.jamesmolloy.co.uk
************************************************************/


// Copy len bytes from src to dest.
void _memcpy(u8*, const u8*, u32);


// Write len copies of val into dest.
void _memset(u8*, u8, u32);


// Compare two strings. Should return -1 if 
// str1 < str2, 0 if they are equal or 1 otherwise.
int _strcmp(char*, char*);


// Concatenate the NULL-terminated string src onto
// the end of dest, and return dest.
char* _strcat(char*, const char*);


// Copy the NULL-terminated string src into dest, and
// return dest.
void _strcpy(char*, const char*);



